package cn.stylefeng.guns.modular.gui.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 押金管理
 * </p>
 *
 * @author Dong
 * @since 2023-06-20
 */
@TableName("p_yajin")
public class Yajin implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
      @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 押金金额
     */
    @TableField("yajin")
    private BigDecimal yajin;

    /**
     * 退还日期
     */
    @TableField("thTime")
    private Date thTime;

    /**
     * 缴纳日期
     */
    @TableField("jnrq")
    private Date jnrq;

    /**
     * 用户ID
     */
    @TableField("uid")
    private Long uid;

    /**
     * 商户订单号
     */
    @TableField("outTradeNo")
    private String outTradeNo;

    /**
     * 微信支付订单号
     */
    @TableField("transactionId")
    private String transactionId;

    /**
     * 商户退款单号
     */
    @TableField("outRefundNo")
    private String outRefundNo;

    /**
     * 0未缴纳 1已缴纳 2已退还
     */
    @TableField("state")
    private Integer state;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public BigDecimal getYajin() {
        return yajin;
    }

    public void setYajin(BigDecimal yajin) {
        this.yajin = yajin;
    }

    public Date getThTime() {
        return thTime;
    }

    public void setThTime(Date thTime) {
        this.thTime = thTime;
    }

    public Date getJnrq() {
        return jnrq;
    }

    public void setJnrq(Date jnrq) {
        this.jnrq = jnrq;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public String getOutRefundNo() {
        return outRefundNo;
    }

    public void setOutRefundNo(String outRefundNo) {
        this.outRefundNo = outRefundNo;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Yajin{" +
        "id=" + id +
        ", yajin=" + yajin +
        ", thTime=" + thTime +
        ", jnrq=" + jnrq +
        ", uid=" + uid +
        ", outTradeNo=" + outTradeNo +
        ", transactionId=" + transactionId +
        ", outRefundNo=" + outRefundNo +
        ", state=" + state +
        "}";
    }
}
